/**
 * 
 */
package it.polimi.traveldream.exception;


public class ConsistencyException extends Exception {

	
	private static final long serialVersionUID = 1L;
	
	public static final String SAME_CITY1_CITY2 = "same_city1_city2"; 
	
	public static final String BEFORE_TODAY = "before_today"; 
	
	public static final String EXISTING_PRODUCT = "existing_product"; 
		
	
	private String type;

	public ConsistencyException(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	
}
